@echo off
REM Windows部署脚本

REM 创建虚拟环境
python -m venv venv

REM 激活虚拟环境
call venv\Scripts\activate

REM 安装依赖
pip install -r requirements.txt

REM 数据库迁移
python manage.py makemigrations
python manage.py migrate

REM 创建超级用户
python manage.py createsuperuser

REM 启动开发服务器
python manage.py runserver